package me.ivenapp.gomoku;

/**
 * 表示棋子
 */
public class ChessPiece {
    private int row;
    private int col;
    /**
     * 棋子类型。1-白棋，2-黑棋
     */
    private int type;

    public ChessPiece() {
        super();
    }

    public ChessPiece(int row, int col, int type) {
        this.row = row;
        this.col = col;
        this.type = type;
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public int getCol() {
        return col;
    }

    public void setCol(int col) {
        this.col = col;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
